Skip to content

Implemented ios:Slider.UpdateOnTap - #20124

Merged
jfversluis merged 5 commits into
dotnet:inflight/currentfrom
kubaflo:ios-slider-UpdateOnTap
Nov 26, 2025
Merged

jfversluis merged 5 commits into
dotnet:inflight/currentfrom
kubaflo:ios-slider-UpdateOnTap

Conversation

@kubaflo

@kubaflo kubaflo commented Jan 24, 2024

Copy link
Copy Markdown
Contributor

Description of Change

I implemented the ios:Slider.UpdateOnTap property in the same way it has been implemented in Xamarin Forms

Issues Fixed

Fixes #20098

Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-01-24.at.01.02.02.mp4

@kubaflo
kubaflo requested a review from a team as a code owner January 24, 2024 00:04
@ghost ghost added the community ✨ Community Contribution label Jan 24, 2024
@ghost

ghost commented Jan 24, 2024

Copy link
Copy Markdown

Hey there @kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@samhouts samhouts added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jan 25, 2024

@jsuarezruiz jsuarezruiz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you include a sample to allow check/test the platform specific here: https://github.com/dotnet/maui/tree/main/src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/iOS?

@kubaflo

kubaflo commented Jan 26, 2024

Copy link
Copy Markdown
Contributor Author

@jsuarezruiz sure I will do it later today

@kubaflo

kubaflo commented Jan 27, 2024

Copy link
Copy Markdown
Contributor Author

@Eilon Eilon added area-controls-slider Slider and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor labels May 13, 2024
@kubaflo
kubaflo force-pushed the ios-slider-UpdateOnTap branch from 640aaf4 to b842bc7 Compare June 1, 2024 16:52
@kubaflo
kubaflo requested a review from PureWeen June 1, 2024 16:53
@PureWeen

PureWeen commented Jun 2, 2024

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

jsuarezruiz
jsuarezruiz previously approved these changes Jun 11, 2024
@Yves-Be

Yves-Be commented Jun 19, 2024

Copy link
Copy Markdown

This seems a bit wonky when using a centered Slider and a fixed width, I'm getting negative values that are being set.
<Slider Minimum="0" Maximum="100" WidthRequest="256" HeightRequest="64" HorizontalOptions="Center"/>

Perhaps something is still missing compared to Xamarin? tappedLocation.X now seems to be relative to the control frame already, so I don't think we need to subtract control.Frame.X

@kubaflo

kubaflo commented Jun 24, 2024

Copy link
Copy Markdown
Contributor Author

@Yves-Be you're absolutely right! Thank you yot pointing it out!

@kubaflo kubaflo self-assigned this Jun 24, 2024
@PureWeen

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@kubaflo
kubaflo force-pushed the ios-slider-UpdateOnTap branch from 4175ce8 to 5a0e65a Compare August 31, 2024 23:44
_proxy.Disconnect(platformView);
}

internal void MapUpdateOnTap(bool isMapUpdateOnTapEnabled)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PureWeen do we have "design docs" on where this should live? For other Controls-only things we just kept it in the XAML control class?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, if we're not adding an interface at the core level then controls level inside the xaml class makes sense

@PureWeen

Copy link
Copy Markdown
Member

/rebase

@github-actions
github-actions Bot force-pushed the ios-slider-UpdateOnTap branch from 941a538 to 6caf573 Compare August 16, 2025 17:35
Copilot AI review requested due to automatic review settings August 16, 2025 17:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@PureWeen

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen modified the milestones: .NET 9 SR12, .NET 10 SR1 Sep 10, 2025
@PureWeen PureWeen modified the milestones: .NET 10 SR1, .NET 10.0 SR2 Nov 4, 2025
@jfversluis

Copy link
Copy Markdown
Member

/rebase

@jfversluis
jfversluis force-pushed the ios-slider-UpdateOnTap branch from 729d081 to e972161 Compare November 26, 2025 14:54
@jfversluis
jfversluis changed the base branch from main to inflight/current November 26, 2025 14:54
@jfversluis
jfversluis merged commit fd81cdb into dotnet:inflight/current Nov 26, 2025
@github-project-automation github-project-automation Bot moved this from Todo to Done in MAUI SDK Ongoing Nov 26, 2025
PureWeen pushed a commit that referenced this pull request Dec 3, 2025
Added a device test

Fixes

Fixed a memory leak

Don't interfere with other gestures
github-actions Bot pushed a commit that referenced this pull request Dec 5, 2025
Added a device test

Fixes

Fixed a memory leak

Don't interfere with other gestures
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.